.tab{
    position: fixed;
    border-top: 1px solid #ccc;
    bottom: 0;
    width: 100%;
    background-color: #fff;
}